package leetcode.singlemodel;

/**
 * @author :songyaozhang
 * @date :Created 2021/8/3 19:51
 * @description :
 */
public class Singleton {

    private static class LazyHolder {
        private static final Singleton INSTANCE = new Singleton();
    }

    public static Singleton getInstance() {
        return LazyHolder.INSTANCE;
    }
}
